<%-- 
    Document   : AddCubeStatus.jsp
    Created on : Sep 29, 2011, 9:31:02 PM
    Author     : KimberlyJordan
--%>

<%@page import="BusinessLogic.Constants"%>
<%@page import="java.util.ArrayList"%>
<%@page contentType="text/xml"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<status>
<%
    ArrayList data = (ArrayList) request.getAttribute("data");
    int result = ((Integer) data.get(0)).intValue();
    if (result == Constants.STATUS_SUCCESSFUL) {
%>
Status : Successfully Created New Cube
<%
   } else if (result == Constants.STATUS_INVALID_INPUT) {

%>
Status : Invalid Input
<%
   } else if (result == Constants.STATUS_SESSION_EXPIRED) {

%>
Status : Failed to Add Cube Because Session Has Expired, Please Login.
<%
   }
%>
</status>


